package org.jeecg.trace.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.report.entity.EqpFaultHistory;
import org.jeecg.trace.dto.FaultStatisticsDTO;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface FaultStatisticsService {
    IPage<FaultStatisticsDTO> pageList(Page<FaultStatisticsDTO> page, Map<String, Object> map);

    ModelAndView exportXls(HttpServletRequest request, Map<String, Object> param, Class<FaultStatisticsDTO> faultStatisticsDTOClass, String title);

    void exportXsl2(HttpServletRequest request, HttpServletResponse response, Map<String, Object> param);
}
